<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>表单</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- ，Bootstrap 是移动设备优先的 为了确保适当的绘制和触屏缩放，需要在 <head> 之中添加 viewport 元数据标签。 -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

    <!-- Bootstrap -->
    <link href="./dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="./dist/js/jquery-1.11.3.min.js"></script>
    <script src="./dist/js/bootstrap.min.js"></script>
</head>
<body>
	<div class="container">
	   <div class="row">
	   		<div class="col-xs-6 col-xs-offset-3">
	   		   <form>
	   		     <div class="form-group has-error">
	   		       <label for="exampleInputEmail1">Email address</label>
	   		       <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
	   		     </div>
	   		     <div class="form-group">
	   		       <label for="exampleInputPassword1">Password</label>
	   		       <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
	   		     </div>
	   		     <div class="form-group">
	   		       <label for="exampleInputFile">File input</label>
	   		       <input type="file" id="exampleInputFile">
	   		       <p class="help-block">Example block-level help text here.</p>
	   		     </div>
	   		     <div class="checkbox">
	   		       <label>
	   		         <input type="checkbox"> Check me out
	   		       </label>
	   		     </div>
	   		     <button type="submit" class="btn btn-info">Submit</button>
	   		   </form>
	   		</div>
	   </div>
	   <div class="row">
	   		<div class="col-md-6">
	   			<div class="form-group has-success">
	   			  <label class="control-label" for="inputSuccess1">Input with success</label>
	   			  <input type="text" class="form-control" id="inputSuccess1">
	   			</div>
	   			<div class="form-group has-warning">
	   			  <label class="control-label" for="inputWarning1">Input with warning</label>
	   			  <input type="text" class="form-control" id="inputWarning1">
	   			</div>
	   			<div class="form-group has-error">
	   			  <label class="control-label" for="inputError1">Input with error</label>
	   			  <input type="text" class="form-control" id="inputError1">
	   			</div>
	   			<div class="has-success">
	   			  <div class="checkbox">
	   			    <label>
	   			      <input type="checkbox" id="checkboxSuccess" value="option1">
	   			      Checkbox with success
	   			    </label>
	   			  </div>
	   			</div>
	   			<div class="has-warning">
	   			  <div class="checkbox">
	   			    <label>
	   			      <input type="checkbox" id="checkboxWarning" value="option1">
	   			      Checkbox with warning
	   			    </label>
	   			  </div>
	   			</div>
	   			<div class="has-error">
	   			  <div class="checkbox">
	   			    <label>
	   			      <input type="checkbox" id="checkboxError" value="option1">
	   			      Checkbox with error
	   			    </label>
	   			  </div>
	   			</div>
	   		</div>
	   </div>
	<div class="form-group has-success has-feedback">
	  <label class="control-label" for="inputSuccess2">Input with success</label>
	  <input type="text" class="form-control" id="inputSuccess2" aria-describedby="inputSuccess2Status">
	  <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span>
	  <span id="inputSuccess2Status" class="sr-only">(success)</span>
	</div>
	<div class="form-group has-warning has-feedback">
	  <label class="control-label" for="inputWarning2">Input with warning</label>
	  <input type="text" class="form-control" id="inputWarning2" aria-describedby="inputWarning2Status">
	  <span class="glyphicon glyphicon-warning-sign form-control-feedback" aria-hidden="true"></span>
	  <span id="inputWarning2Status" class="sr-only">(warning)</span>
	</div>
	<div class="form-group has-error has-feedback">
	  <label class="control-label" for="inputError2">Input with error</label>
	  <input type="text" class="form-control" id="inputError2" aria-describedby="inputError2Status">
	  <span class="glyphicon glyphicon-remove form-control-feedback" aria-hidden="true"></span>
	  <span id="inputError2Status" class="sr-only">(error)</span>
	</div>
	<div class="form-group has-success has-feedback">
	  <label class="control-label" for="inputGroupSuccess1">Input group with success</label>
	  <div class="input-group">
	    <span class="input-group-addon">@</span>
	    <input type="text" class="form-control" id="inputGroupSuccess1" aria-describedby="inputGroupSuccess1Status">
	  </div>
	  <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span>
	  <span id="inputGroupSuccess1Status" class="sr-only">(success)</span>
	</div>

	</div>
</body>
</html>